package com.silences.controller;

import com.silences.utils.UPloadUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class UploadController {

    @RequestMapping("/uploads")
    public void upload(HttpServletRequest req, HttpServletResponse resp){
      UPloadUtil uu =  new UPloadUtil();
      uu.upload(req,resp);
    }
}
